Smush\Core\Server_Utils A

Total Complexity 53
Dependencies 0
Dependents 14
Total lines 218
Lines of code 151
Logical lines of code 87
Comment lines 14
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
check_user_agent_version()
A
56 8 16
get_server_type()
S
56 5 19
get_http_accept_header()
S
62 4 12
get_memory_limit()
S
62 4 11
get_current_url()
S
61 3 11
array_has_needle()
S
67 3 8
browser_supports_webp()
S
67 3 7
get_device_type()
S
67 3 9
is_function_supported()
S
64 3 10
get_mysql_version()
S
69 2 7
get_user_agent()
S
77 2 3
get_document_root()
S
77 2 3
browser_supports_nextgen_format()
S
74 2 4
get_request_method()
S
70 2 6
is_tablet()
S
67 2 8
is_mobile()
S
67 2 8
get_memory_usage()
S
80 1 3
get_max_execution_time()
S
80 1 3
get_request_uri()
S
78 1 3